package com.easychat.mappers;

import com.easychat.entity.po.UserInfoBeauty;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoBeautyMapper<T,P> extends BaseMapper<T,P> {
    UserInfoBeauty selectByEmail(String email);

    void updateById(@Param("bean")UserInfoBeauty updateBeauty,@Param("id") Integer id);

    T selectById(@Param("id") Integer id);

    T selectByUserId(@Param("userId") String userId);
    Integer deleteById(@Param("id") Integer id);


   // List<T> selectList(P param);
}
